<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>积分充值 - 作文批改小程序</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="stylesheet" href="../css/styles.css">
</head>
<body>
  <div class="device-container">
    <div class="status-bar">
      <div></div>
      <div class="time">12:30</div>
      <div class="icons"></div>
    </div>
    
    <div class="app-content">
      <div class="container">
        <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
          <h2 style="margin: 0;">积分充值</h2>
        </div>
        
        <div class="points-card">
          <div class="points-icon">
            <i class="fas fa-coins"></i>
          </div>
          <div class="points-info">
            <div class="points-value">5</div>
            <div class="points-label">当前积分</div>
          </div>
        </div>
        
        <div class="card">
          <h3 style="margin-top: 0; margin-bottom: 20px;">选择充值套餐</h3>
          
          <div class="recharge-options">
            <div class="recharge-option active" data-amount="10" data-points="10">
              <div class="recharge-value">¥10</div>
              <div class="recharge-points">10积分</div>
            </div>
            
            <div class="recharge-option" data-amount="30" data-points="35">
              <div class="recharge-value">¥30</div>
              <div class="recharge-points">35积分</div>
              <div style="font-size: 12px; color: var(--primary-color);">优惠5积分</div>
            </div>
            
            <div class="recharge-option" data-amount="50" data-points="65">
              <div class="recharge-value">¥50</div>
              <div class="recharge-points">65积分</div>
              <div style="font-size: 12px; color: var(--primary-color);">优惠15积分</div>
            </div>
            
            <div class="recharge-option" data-amount="100" data-points="150">
              <div class="recharge-value">¥100</div>
              <div class="recharge-points">150积分</div>
              <div style="font-size: 12px; color: var(--primary-color);">优惠50积分</div>
            </div>
            
            <div class="recharge-option" data-amount="200" data-points="320">
              <div class="recharge-value">¥200</div>
              <div class="recharge-points">320积分</div>
              <div style="font-size: 12px; color: var(--primary-color);">优惠120积分</div>
            </div>
            
            <div class="recharge-option" data-amount="300" data-points="500">
              <div class="recharge-value">¥300</div>
              <div class="recharge-points">500积分</div>
              <div style="font-size: 12px; color: var(--primary-color);">优惠200积分</div>
            </div>
          </div>
          
          <div style="margin-top: 30px;">
            <button id="pay-button" class="btn btn-block">
              <i class="fab fa-weixin" style="font-size: 20px;"></i>
              微信支付
            </button>
          </div>
        </div>
        
        <div class="card" style="margin-top: 20px;">
          <h3 style="margin-top: 0; margin-bottom: 16px;">积分说明</h3>
          
          <div class="list-item">
            <div class="list-item-icon">
              <i class="fas fa-info-circle"></i>
            </div>
            <div class="list-item-content">
              <div class="list-item-title">积分用途</div>
              <div class="list-item-subtitle">每次批改作文消耗1积分</div>
            </div>
          </div>
          
          <div class="list-item">
            <div class="list-item-icon">
              <i class="fas fa-info-circle"></i>
            </div>
            <div class="list-item-content">
              <div class="list-item-title">积分有效期</div>
              <div class="list-item-subtitle">自购买之日起一年内有效</div>
            </div>
          </div>
          
          <div class="list-item">
            <div class="list-item-icon">
              <i class="fas fa-info-circle"></i>
            </div>
            <div class="list-item-content">
              <div class="list-item-title">退款说明</div>
              <div class="list-item-subtitle">积分一经购买，不予退款</div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <div class="tab-bar">
      <div class="tab-item" data-href="home">
        <i class="fas fa-home"></i>
        <span>首页</span>
      </div>
      <div class="tab-item" data-href="upload">
        <i class="fas fa-camera"></i>
        <span>批改</span>
      </div>
      <div class="tab-item active" data-href="recharge">
        <i class="fas fa-coins"></i>
        <span>积分</span>
      </div>
      <div class="tab-item" data-href="profile">
        <i class="fas fa-user"></i>
        <span>我的</span>
      </div>
    </div>
  </div>
  
  <script src="../js/main.js"></script>
</body>
</html> 